﻿using System;
using System.Windows.Forms;

namespace BingWallpaper
{
    public partial class FrmSetting : Form
    {
        public FrmSetting() => InitializeComponent();

        private void FrmSetting_Load(object sender, EventArgs e)
        {
            cbBoot.Checked = SettingClass.GetBoot();
            cbAutoSet.Checked = SettingClass.GetAutoSet();
            cbImgSize_1080.Checked = SettingClass.GetImgSize_1080();
        }

        private void Settings_CheckedChanged(object sender, EventArgs e) 
            => SettingClass.SaveSettings(sender as CheckBox);
    }
}
